-
Home
-
Jigoshop eCommerce
-
2.1.18 (latest)
-
Code
-
Classes
- Coupon
| Total Complexity |
94 |
| Dependencies |
4 |
| Dependents |
6 |
| Total lines |
601 |
| Lines of code |
301 |
| Logical lines of code |
131 |
| Comment lines |
169 |
| Methods |
49 |
| Properties |
18 |
Methods 49
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| restoreState() |
B |
43 |
18 |
49 |
| productMatchesCoupon() |
A |
51 |
12 |
28 |
| getDiscount() |
A |
47 |
10 |
34 |
| jsonSerialize() |
S |
51 |
3 |
27 |
| getStateToSave() |
S |
55 |
3 |
19 |
| removeCategory() |
S |
70 |
2 |
6 |
| removeExcludedCategory() |
S |
70 |
2 |
6 |
| removeProduct() |
S |
70 |
2 |
6 |
| removeExcludedProduct() |
S |
70 |
2 |
6 |
| getId() |
S |
82 |
1 |
3 |
| setId() |
S |
81 |
1 |
3 |
| getTitle() |
S |
82 |
1 |
3 |
| setTitle() |
S |
81 |
1 |
3 |
| getPaymentMethods() |
S |
82 |
1 |
3 |
| setPaymentMethods() |
S |
81 |
1 |
3 |
| getCategories() |
S |
82 |
1 |
3 |
| setCategories() |
S |
81 |
1 |
3 |
| addCategory() |
S |
80 |
1 |
3 |
| getExcludedCategories() |
S |
82 |
1 |
3 |
| setExcludedCategories() |
S |
81 |
1 |
3 |
| addExcludedCategory() |
S |
80 |
1 |
3 |
| getProducts() |
S |
82 |
1 |
3 |
| setProducts() |
S |
81 |
1 |
3 |
| addProduct() |
S |
80 |
1 |
3 |
| getExcludedProducts() |
S |
82 |
1 |
3 |
| setExcludedProducts() |
S |
81 |
1 |
3 |
| addExcludedProduct() |
S |
80 |
1 |
3 |
| isFreeShipping() |
S |
82 |
1 |
3 |
| setFreeShipping() |
S |
81 |
1 |
3 |
| getFrom() |
S |
82 |
1 |
3 |
| setFrom() |
S |
81 |
1 |
3 |
| isIndividualUse() |
S |
82 |
1 |
3 |
| setIndividualUse() |
S |
81 |
1 |
3 |
| getOrderTotalMaximum() |
S |
82 |
1 |
3 |
| setOrderTotalMaximum() |
S |
81 |
1 |
3 |
| getOrderTotalMinimum() |
S |
82 |
1 |
3 |
| setOrderTotalMinimum() |
S |
81 |
1 |
3 |
| getTo() |
S |
82 |
1 |
3 |
| setTo() |
S |
81 |
1 |
3 |
| getType() |
S |
82 |
1 |
3 |
| setType() |
S |
81 |
1 |
3 |
| getUsage() |
S |
82 |
1 |
3 |
| setUsage() |
S |
81 |
1 |
3 |
| getUsageLimit() |
S |
82 |
1 |
3 |
| setUsageLimit() |
S |
81 |
1 |
3 |
| getAmount() |
S |
82 |
1 |
3 |
| setAmount() |
S |
81 |
1 |
3 |
| getCode() |
S |
82 |
1 |
3 |
| setCode() |
S |
81 |
1 |
3 |